import { _decorator, Component, Label, Node } from 'cc';
import { GameManager } from '../GameManager';
const { ccclass, property } = _decorator;

@ccclass('LiefCountUI')
export class LiefCountUI extends Component {
    @property(Label)
    numberLable:Label = null;

    start() {
        // GameManager.getInstance().node.on("onBombChange",this.onBombChange,this);
    }

    onBombChange(count:number) {
        this.numberLable.string = count.toString();
    }
}

